package com.qf.mapper;

import com.qf.pojo.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zdl
 * @date 2025/2/10
 */
public interface StudentMapper {
    List<Student> selectAllStudent();

    Student selectStudentById(int id);

    int updateStudent(Student student);

    List<Student> selectStudentLikeSnameOrClassName(@Param("sname") String sname, @Param("className") String className);

    int deleteStudentById(int id);
}
